module mult_8bit(
	input [7:0]A,
	input [7:0]B,
	output reg[15:0] Cout
);

	integer i;
	
	always @(A or B) begin
	
		Cout = 16'd0;
		for(i = 0; i < 8; i = i+1) begin
		
			if(B[i]) begin
				Cout = Cout + (A << i);
			end
		
		end
	
	end

endmodule
